<%@ Page Language="C#" MasterPageFile="~/MainMaster.master" AutoEventWireup="true" CodeFile="NewFeaturedDoctor.aspx.cs" Inherits="Doctor_NewFeaturedDoctor" Title="Featured Doctor" %>
<%@ MasterType VirtualPath="~/MainMaster.master" %>
<%@ Register Src="../includes/DoctorMenu.ascx" TagName="DoctorMenu" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainTable" Runat="Server">
<% if( fIE5 ){ %>
		<script>
		
		var reqState=0;
		function showReqXML(){
		  if(reqState == 0){
		  document.all.xmlReqData.style.display = "";
		  document.all.xmlReq.innerText="Hide Request XML";
		  reqState = 1;
		  }else{
		  document.all.xmlReqData.style.display = 'none';
		  document.all.xmlReq.innerText="Show Request XML";
		  reqState = 0;
		  }
		}
		var resState=0;
		function showResXML(){
		 if(resState == 0){
		  document.all.xmlResData.style.display = "";
		  document.all.xmlRes.innerText="Hide Response XML";
		  resState = 1;
		  } else {
		  document.all.xmlResData.style.display = 'none';
		  document.all.xmlRes.innerText="Show Response XML";
		  resState = 0;
		  }
		}	


		</script>
<%}%>				
<script>
if(Page_ClientValidate())
		{
            function CheckCardNo(e)
            {
                if(!(e.keyCode>=48 && e.keyCode<=57))
                { 
                return false;
                document.getElementById("<%=txtcardnumber.ClientID%>").focus();
                }   
            }	
           
		
		function ChkLen(sender, args)
              {
                //alert(document.getElementById("txt_profdesc"));
                if(document.getElementById("<%=txtDoctorStatement.ClientID%>").value.length > 1500)
                {
                    args.IsValid = false;
                    return;
                }
                args.IsValid = true;
              }
              }
		
</script>

<table align="center" bgcolor="#f1f1f1" width="200"  border="0" cellpadding="0" cellspacing="0" >
	<tr>
		<td class="bodytxt" style="width: 9px; height: 8px"><img alt="" height="8" src="<%=Session["strHttp"]%>images/grey-curver-inside-left.gif" width="9" /></td>
		<td class="bodytxt" style="border-top: #e0e0e0 1px solid; width: 531px; height: 8px"><img alt="" height="1" src="<%=Session["strHttp"]%>images/spacer.gif" width="8" /></td>
		<td class="bodytxt" style="width: 9px; height: 8px"><img alt="" height="8" src="<%=Session["strHttp"]%>images/grey-curver-inside-right.gif" width="9" /></td>
	</tr>
	<tr><td class="bodytxt" style="border-left: #e0e0e0 1px solid"><img alt="" height="1" src="<%=Session["strHttp"]%>images/spacer.gif" width="8" /></td>
		<td class="bodytxt" align="center">

			
<table   border="0" align="center" cellpadding="0" cellspacing="0" width="100%">
    <tr>
        <td>
            <uc1:DoctorMenu ID="DoctorMenu1" runat="server" />
        </td>
    </tr>
    <tr>            
            <td class="bodytxt" align="left">            
                <asp:Label ID="lbl_drbid" runat="server" CssClass="page-heading" Text="Become a Featured Doctor" Font-Underline="false" Font-Size="20px"></asp:Label>
            </td>
     </tr>
      <tr>            
            <td style="height:20px" valign="top">            
               
            </td>
     </tr>
     <tr>            
            <td style="height:20px" align="center" valign="top">            
               <asp:Label ID="lblMessage"  ForeColor="red" runat="server"></asp:Label>
            </td>
     </tr>
     
     <tr>
        <td align="left">
            <asp:Wizard ID="WizardSubscription"  DisplaySideBar="false"  runat="server"  ActiveStepIndex="0"  FinishDestinationPageUrl="~/Doctor/status.aspx" Width="100%" OnNextButtonClick="WizardSubscription_NextButtonClick" OnFinishButtonClick="WizardSubscription_FinishButtonClick">
                     <WizardSteps>
                    <asp:WizardStep ID="WizardStep1"  runat="server"   Title="First Subscription Page" StepType="start">
                        <table cellpadding="0"  cellspacing="0" border="0" width="100%">
                           <tr>            
                                <td style="height:20px" colspan="2" align="center" valign="top">            
                                   <asp:Label ID="lblWS1Message"  ForeColor="red" runat="server"></asp:Label>
                                </td>
                            </tr>
                          <tr>
                              <td style="width:50%" valign="middle">
                                  &nbsp;<strong class="bodytxt">Select Speciality</strong>
                              </td>
                              <td style="width:50%" valign="middle"> 
                                 <asp:DropDownList ID="ddlSpeciality"  CssClass="bodytxt" runat="server" Width="173px">
                                 </asp:DropDownList>
                              </td>
                          </tr>
                          <tr>
                              <td style="width:50%; height: 79px;" valign="middle">
                                  &nbsp;<strong>Select Featured Doctor Level</strong>
                              </td>
                              <td style="width:50%; height: 79px;" valign="middle">
                                <asp:DropDownList ID="ddlFeaturedDocType" CssClass="bodytxt" runat="server" Width="173px">
                                </asp:DropDownList>
                                <asp:RequiredFieldValidator ID="rqdvalidater1" runat="server" Display="None" ControlToValidate="ddlFeaturedDocType" ErrorMessage="Select Feature Doctor Level" InitialValue="0"></asp:RequiredFieldValidator>
                                <asp:ValidationSummary  runat="server"  ID="valsummary" ShowMessageBox="true" ShowSummary="false"/>
                              </td>
                          </tr>
                          <tr>
                              <td style="width:50%" valign="middle">
                                  &nbsp;<strong>Select Subscription&nbsp;</strong>
                              </td>
                              <td style="width:50%" valign="middle">
                                  <asp:RadioButtonList ID="rbSubscription" runat="server" Width="166px" RepeatDirection="Horizontal">
                                  </asp:RadioButtonList>
                               </td>
                          </tr>
                              <tr>
                              <td style="width:50%" valign="middle">
                                  &nbsp;<strong>If you have a coupon code, enter it here: &nbsp;</strong>
                              </td>
                              <td style="width:50%" valign="middle">
                                  <asp:TextBox ID="txtCouponCode" runat="server" Width="172px" MaxLength="7"></asp:TextBox>
                               </td>
                          </tr>
                        </table>
                    </asp:WizardStep>
                     <asp:WizardStep ID="WizardStep2"  runat="server"   Title="Second Subscription Page" StepType="Step">
                        <table cellpadding="0"  cellspacing="0" border="0" width="100%">
                             <tr>
                                 <td colspan="3"><asp:Label ID="lblErrorMessage" runat="server"></asp:Label>
                                 </td>
                             </tr>
                             
                             <tr>
                                 <td colspan="3"><b>* Helpful Hint: You may skip this step and add all of this information at a later point.</b>
                                 </td>
                             </tr>
                             
                             <tr>
                                  <td colspan="3" style="height:20px">
                                  </td>
                             </tr>
                            <tr class="normalblack_12">
                                <td style="width: 146px"><strong>Photo</strong></td>
                                <td>:</td>
                                <td align="left" style="width: 355px"><asp:FileUpload ID="fupl_photo" runat="server" Width="300px" /><br />
                                      Max. file size: 500kb
                                 </td>
                         </tr>
                           <tr class="normalblack_12"><td style="width: 146px">
                              <strong>Personal Doctor Statement</strong></td>
                         <td>
                             :</td>
                         <td align="left" style="width: 355px">
                             <asp:TextBox ID="txtDoctorStatement" runat="server" TextMode="MultiLine" Width="300px" CssClass="inp"></asp:TextBox><br />
                             Max. length of text: 1500 characters<br />
                             <asp:CustomValidator ID="CustomValidator1" runat="server" ClientValidationFunction="ChkLen"
                                 ControlToValidate="txtDoctorStatement" ErrorMessage="Text cannot exceed 1500 characters." Display="Dynamic"></asp:CustomValidator><br />
                             </td>
                         </tr>
                          <tr class="normalblack_12"><td style="width: 146px">
                              <strong>Website</strong></td>
                         <td>
                             :</td>
                         <td align="left" style="width: 355px">
                             <asp:TextBox ID="txtWebSite" runat="server" Width="300px" CssClass="inp"></asp:TextBox>
                             <br />
                             <asp:RegularExpressionValidator ID="regex_web" runat="server" ControlToValidate="txtWebSite"
                                 Display="Dynamic" ErrorMessage="Enter URL in correct format (http://www.abc.com)"
                                 ValidationExpression="http(s)?://([a-zA-Z0-9]+)[.{1}]([a-zA-Z0-9]+)[.{1}]([a-zA-Z0-9]+)"></asp:RegularExpressionValidator></td>
                         </tr>
                        </table>
                    </asp:WizardStep>
                    
                    
                    <asp:WizardStep ID="WizardStep3" runat="server"  StepType="Finish" Title="Third Subscription Page">
                    	<table id="TABLE1" cellspacing="0" cellpadding="0"  border="0" width="100%">
						<tr>
							<td >&nbsp;</td>
							<td>&nbsp;</td>
							<td>&nbsp;</td>
							<td>&nbsp;</td>
    </tr>
					
						<tr>
							<td align="left" style="width:20%">Card Number<font color="red">*</font>:</td>
							<td style="width:40%"><asp:TextBox ID="txtcardnumber"  CssClass="bodytxt" runat="server" MaxLength="16"></asp:TextBox>
	                            <asp:RequiredFieldValidator ID="rqdvalidator2" runat="server" Display="none" ControlToValidate="txtcardnumber" ErrorMessage="Enter Card Number"></asp:RequiredFieldValidator>						
							</td>
							<td style="width:40%" align="left">
							<img id="Img1"  src="../Images/american-exp.gif" alt=""  runat="server" />
							<img id="Img2"  src="../Images/visa.gif"  runat="server" alt=""/>
							<img id="Img3"  src="../Images/mastercard.gif"  runat="server" alt="" />
							</td>
						</tr>
							<tr>
							<td align="left" style="width:20%">Exp. Month<font color="red">*</font>:</td>
						
							<td style="width:40%"><asp:DropDownList ID="ddlMonth" runat="server"></asp:DropDownList>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="ddlMonth"
                                    ErrorMessage="Select Expiry Month" Display="None" InitialValue="Month"></asp:RequiredFieldValidator>
                            </td>
								<td style="width:40%"></td>
						</tr>
						<tr>
							<td align="left" style="width:20%">Exp. Year<font color="red">*</font>:</td>
							<td style="width:20%"><asp:DropDownList ID="ddlYear" runat="server"></asp:DropDownList>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="ddlYear"
                                    ErrorMessage="Select Expiry Year" Display="None" InitialValue="Year"></asp:RequiredFieldValidator>
                                <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
                                    ShowSummary="False" />
                            </td>
                            <td style="width:40%"></td>
						</tr>
							<tr>
							<td align="left"style="width:20%" >Amount:</td>
							<td style="width:40%"><asp:TextBox ID="txttotal" ReadOnly="true" runat="server"></asp:TextBox></td>
							<td style="width:40%"></td>
						</tr>
					
						<tr>
							<td style="width:20%" align="left">Name:</td>
							<td style="width:40%" ><asp:TextBox ID="txtName"  CssClass="bodytxt" runat="server" ReadOnly="True"></asp:TextBox></td>
							<td style="width:40%" ></td>
						</tr>
						<tr>
							<td align="left" style="width:20%" >Address:</td>
							<td style="width:40%" ><asp:TextBox ID="txtbaddrnum" runat="server"  CssClass="bodytxt"  ReadOnly="True"></asp:TextBox></td>
							<td style="width:40%" ></td>
						</tr>
						<tr>
							
							<td  style="width:20%" align="left">City:</td>
							<td  style="width:40%"><asp:TextBox ID="txtCity" runat="server"  CssClass="bodytxt"  ReadOnly="True"></asp:TextBox></td>
							<td  style="width:40%"></td>
						</tr>
						<tr>
							<td align="left" style="width:20%">State:</td>
							<td style="width:40%"><asp:TextBox ID="txtState" runat="server"  CssClass="bodytxt"  ReadOnly="True"></asp:TextBox></td>
							<td style="width:40%"></td>
						</tr>
						<tr>
							<td style="width:20%" align="left">Zip:</td>
							<td style="width:40%"><asp:TextBox ID="txtbzip"  CssClass="bodytxt" runat="server" ReadOnly="True"></asp:TextBox></td>
							<td style="width:40%"></td>
						</tr>
						<tr>
							<td style="width:20%" align="left">Email:</td>
							<td style="width:40%"><asp:TextBox ID="txtEmail"  BackColor="Yellow" runat="server"   CssClass="bodytxt" ReadOnly="True"></asp:TextBox></td>
							<td style="width:40%"></td>
						</tr>
						<tr>
							<td  colspan="3" align="left" style="width:20%">"You will receive all patient leads at this email account"</td>
							
						</tr>
					
					
						<tr>
							<td>&nbsp;</td>
							<td align="left" style="width:40%"> </td>
							<td style="width:40%"></td>
							<td style="width:40%"><asp:TextBox ID="txtinstallments"  Visible="false" CssClass="bodytxt" runat="server" ReadOnly="True"></asp:TextBox></td>
						</tr>
							
						<tr>
							<td>&nbsp;</td>
							<td><!--Start Date:--></td>
							<td></td>
							<td><asp:TextBox ID="txtstartdate" Visible="false" runat="server"></asp:TextBox></td>
						</tr>
						<tr>
							<td>&nbsp;</td>
							<td><!--Periodicity:--></td>
							<td></td>
							<td><asp:TextBox ID="txtperiodicity" Visible="false" runat="server"></asp:TextBox></td>
						</tr>
						<tr>
							<td>&nbsp;</td>
							<td><!--Threshold:--></td>
							<td></td>
							<td><asp:TextBox ID="txtpbthreshold" Visible="false" runat="server"></asp:TextBox></td>
						</tr>
					
						<tr>
						    <td align="center" colspan="4"></td>
						</tr>
                        </table>
                    </asp:WizardStep>
                    
                </WizardSteps>
            </asp:Wizard>
	                        
		</td>
	</tr>
</table>
        </td>
        <td class="bodytxt" style="border-right: #e0e0e0 1px solid"><img alt="" height="1" src="<%=Session["strHttp"]%>images/spacer.gif" width="8" /></td>
    </tr>
    <tr>
		<td class="bodytxt"><img alt="" height="9" src="<%=Session["strHttp"]%>images/grey-curver-inside-left-bot.gif" width="9" /></td>
		<td class="bodytxt" style="border-bottom: #e0e0e0 1px solid"><img alt="" height="1" src="<%=Session["strHttp"]%>images/spacer.gif" width="8" /></td>
		<td class="bodytxt"><img alt="" height="9" src="<%=Session["strHttp"]%>images/grey-curver-inside-right-bo.gif" width="9" /></td>
	</tr>
    </table>
    <table align="center" border="0" cellpadding="0" cellspacing="0">
  
   
            
</table>
</asp:Content>
